package com.team.easybuy.service;

import com.team.easybuy.entity.Category;
import com.team.easybuy.entity.ProductCategory;
import com.team.easybuy.entity.ProductCategory2;

import java.util.List;
import java.util.Map;

public interface ProductCategoryService {

    List<ProductCategory> listProCategory();

    List<ProductCategory2> listProCategory2(Integer id);

    List<ProductCategory> listGoods();

    List<Category> listAllCate();

    String deleteById(Integer id);

    List<ProductCategory> loadCateWhich(Integer id, Integer type);

    String addCate(Map<String, Object> params);

    Category loadCateOne(Integer id, Integer type);

    String editCate(Map<String, Object> params);

}
